home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
shoot_em_in.swf
/
scripts
/
DefineSprite_136
/
frame_97
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
675b
|
31 lines
vNBWall = 0;
var i = 1;
while(20 >= i)
{
name = eval("_parent.mcWall" + i);
if(name.live == true)
{
vNBWall++;
}
i++;
}
vxWall = new Array();
vyWall = new Array();
vzWall = new Array();
vrWall = new Array();
vTestWall = new Array();
var i = 1;
while(vNBWall >= i)
{
name = eval("_parent.mcWall" + i);
v3DPoint = screenToWorld(name._x,name._y,_Yfloor,_Focale,_scale,_xoffset,_yoffset);
vxWall[i] = v3DPoint.x;
vyWall[i] = v3DPoint.y;
vzWall[i] = v3DPoint.z;
vrWall[i] = v3DPoint.scale;
vTestWall[i] = 0;
name._xscale = vrWall[i] * lplayerHeight;
name._yscale = vrWall[i] * lplayerHeight;
i++;
}